<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" ValidateRequest="false" Inherits="SampleWebSite._Default" %>

<%@ Register Assembly="RichTextEditor" Namespace="AjaxControls" TagPrefix="cc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Test RTE</title>
    <script type="text/javascript">
        function dosub(){
            editor = top.document.getElementById(editorId);
            editor.value = richeditor.toHtmlString();
            
        }     
    </script>
    <style type="text/css">
    
     
    </style>
</head>

<body style="background-image:url('images/bg_b.gif');">
    
    <div>
     <img alt="" style="float:left" src="images/Note.png" />
     <img alt="" src="images/NoteTitle.png" /><br /><br />
     <span style="color:White;">Rich Text Editor ASP.NET control simplifies rich text editing by encapsulating all the complex functionality into a single control thus making it easy for end users to drop it into any page. All that the user needs to do is to include the assembly and a single tag to get the full editor functionality.</span>
     <hr style="border: 0;height:1px; color:white"/>
    </div>
   
    <div style="width:100%;color:black;background:#ffffb5;border:solid 1px #DEB621;">
     <span style="font-family:Segoe UI; font-weight:bold;font-size:large;">Features</span>
     <ul>
     <li style="display:inline">*WYSIWYG</li>
     <li style="display:inline">*13 languages supported</li>
     <li style="display:inline">*Single Assembly deployment</li>
     <li style="display:inline">*Supports IE & Firefox</li>
     </ul>
    </div>
    
    
    <form runat="server" id="newMessageSubmit" action="Default.aspx" method="post">
    <table align="center" cellpadding="0"  cellspacing="0">
        <tr>
        <td>
         <label style="font-family:Tahoma;font-size:8pt;">Title</label><br />
         <asp:TextBox CssClass="Selectable" ID="TextTitle" runat="server" style="width:735px;" />
        </td>
        </tr>
        <tr>
        <td>
        <cc1:RichTextEditor ID="Rte1" Theme="Blue"  runat="server" />  
        </td>
        </tr>
        <tr>
        <td>
        <input type="submit" onclick="CopyText()" value="Post" />
        </td>
        </tr>
    </table>  
    </form>
   
</body>
</html>